<?php

use yii\db\Migration;

class m170411_021932_add_is_deleted_to_article extends Migration
{
    public function up()
    {
        $this->addColumn('article','is_deleted',$this->integer());
    }

    public function down()
    {
        $this->dropColumn('article','is_deleted');
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
